package com.szqhyxj.youxiangju.biz.merchantHome.shop.purchase;

import com.szqhyxj.youxiangju.BasePresenter;
import com.szqhyxj.youxiangju.PromptView;
import com.szqhyxj.youxiangju.biz.merchantHome.bean.CommoditeDetails;
import com.szqhyxj.youxiangju.biz.merchantHome.bean.DefaultSite;

interface PreparePurchaseContract {

    interface View extends PromptView{

        void showCommodite(CommoditeDetails data);

        void showSite(DefaultSite site);

        void showNventory(String nventorySum);

        void navMySite();

        void navPay(String orderStr);
    }

    interface Presenter extends BasePresenter {

        void init(CommoditeDetails data);

        void initData(String packageId);

        void initSite();

        void save();

        void onChecked(boolean b);

        void setAddress(String address);

        void setByType(String byType);

        void setPackageId(String packageId);

        void setPayType(String payType);

        void getUserInfo();
    }

}